import turtle


t = turtle.Turtle()


def draw(t, line):
    if line > 0:
        t.forward(line)
        t.hideturtle()
        t.right(90)
        draw(t, line-5)


def tree(t, line):
    if line > 5:
        t.forward(line)
        t.right(20)
        tree(t, line-15)
        t.left(40)
        tree(t, line-15)
        t.right(20)
        t.backward(line)

# draw(t, 100)
# ts = turtle.getscreen()
# ts.getcanvas().postscript(file="rtfm.eps")
t.left(90)


tree(t, 75)
turtle.done()
